package com.chen.vo.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * ClassName: DeptUpdateReqVO
 * Package: com.chen.controller.VO.deptVO
 * Description: 部门更新请求参数
 *
 * @Author 陈俊辉
 * @Create 2024/4/11 17:17
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(description = "部门修改信息")
public class DeptUpdateReqVO {

    @Schema(name = "id",example = "1",description = "部门的id")
    @NotNull(message = "数组不能为空")
    private Integer id;

    @Schema(name = "name",example = "王者部",description = "修改后的部门名字")
    @NotNull(message = "修改的部门名字不能为空")
    private String name;
}
